package com.yitianyigexiangfa.netty.custom.protocol.server;

import com.yitianyigexiangfa.netty.custom.protocol.bean.LuckMessage;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

public class LuckServerHandler2 extends SimpleChannelInboundHandler<String> {

    protected void channelRead0(ChannelHandlerContext channelHandlerContext, String message) throws Exception {
        System.out.println(message.toString());
    }

}
